Verified Calculations

نویسندگان

  • K. Rustan M. Leino
  • Nadia Polikarpova
چکیده

Calculational proofs—proofs by stepwise formula manipulation—are praised for their rigor, readability, and elegance. It seems desirable to reuse this style, often employed on paper, in the context of mechanized reasoning, and in particular, program verification. This work leverages the power of SMT solvers to machine-check calculational proofs at the level of detail they are usually written by hand. It builds the support for calculations into the programming language and auto-active program verifier Dafny. The paper demonstrates that calculations integrate smoothly with other language constructs, producing concise and readable proofs in a wide range of problem domains: from mathematical theorems to correctness of imperative programs. The examples show that calculational proofs in Dafny compare favorably, in terms of readability and conciseness, with arguments written in other styles and proof languages.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Mechanically Verified Calculational Abstract Interpretation

Calculational abstract interpretation, long advocated by Cousot, is a technique for deriving correct-by-construction abstract interpreters from the formal semantics of programming languages. This paper addresses the problem of deriving correct-by-verifiedconstruction abstract interpreters with the use of a proof assistant. We identify several technical challenges to overcome with the aim of sup...

متن کامل

Sample size in orthodontic randomized controlled trials: are numbers justified?

Sample size calculations are advocated by the Consolidated Standards of Reporting Trials (CONSORT) group to justify sample sizes in randomized controlled trials (RCTs). This study aimed to analyse the reporting of sample size calculations in trials published as RCTs in orthodontic speciality journals. The performance of sample size calculations was assessed and calculations verified where possi...

متن کامل

Verified Computation with Probabilities

Because machine calculations are prone to errors that can sometimes accumulate disastrously, computer scientists use special strategies called verified computation to ensure output is reliable. Such strategies are needed for computing with probability distributions. In probabilistic calculations, analysts have routinely assumed (i) probabilities and probability distributions are precisely speci...

متن کامل

Quantum size effects in the polarizability of carbon fullerenes.

We investigate the size-dependent dielectric response of carbon fullerenes with up to 3840 atoms in the framework of the linear response theory. Our results suggest a significant polarizability enhancement due to quantum size effects with respect to classical or semiclassical calculations. The accuracy of our results, based on a parametrized Hamiltonian, is verified by ab initio time dependent ...

متن کامل

Decay of protons and neutrons induced by acceleration

We investigate the decay of accelerated protons and neutrons. Calculations are carried out in the inertial and coaccelerated frames. Particle interpretation of these processes are quite different in each frame but the decay rates are verified to agree in both cases. For the sake of simplicity our calculations are performed in a two-dimensional spacetime since our conclusions are not conceptuall...

متن کامل

Experimental confirmation and physical understanding of ultra-high bit rate impulse radio in the THz digital communication channels of the atmosphere

We have performed highly accurate numerical calculations of high bit rate impulse propagation through the seven digital communication channels of the atmosphere at RH 58% (10 g m). These calculations maximized bit rates for pathlengths equal to or longer than 100 m. We have experimentally verified our calculations for three channels with a propagation pathlength of 137 m and RH 65% (11.2 g m). ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2013